package com.quanyan.stadiumScheduler.entity;

import com.quanyan.common.Plugin.Page;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbGameRoundExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbGameRoundExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andGameEventIdIsNull() {
            addCriterion("game_event_id is null");
            return (Criteria) this;
        }

        public Criteria andGameEventIdIsNotNull() {
            addCriterion("game_event_id is not null");
            return (Criteria) this;
        }

        public Criteria andGameEventIdEqualTo(Integer value) {
            addCriterion("game_event_id =", value, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdNotEqualTo(Integer value) {
            addCriterion("game_event_id <>", value, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdGreaterThan(Integer value) {
            addCriterion("game_event_id >", value, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("game_event_id >=", value, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdLessThan(Integer value) {
            addCriterion("game_event_id <", value, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdLessThanOrEqualTo(Integer value) {
            addCriterion("game_event_id <=", value, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdIn(List<Integer> values) {
            addCriterion("game_event_id in", values, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdNotIn(List<Integer> values) {
            addCriterion("game_event_id not in", values, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdBetween(Integer value1, Integer value2) {
            addCriterion("game_event_id between", value1, value2, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andGameEventIdNotBetween(Integer value1, Integer value2) {
            addCriterion("game_event_id not between", value1, value2, "gameEventId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNull() {
            addCriterion("place_id is null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNotNull() {
            addCriterion("place_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdEqualTo(Integer value) {
            addCriterion("place_id =", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotEqualTo(Integer value) {
            addCriterion("place_id <>", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThan(Integer value) {
            addCriterion("place_id >", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("place_id >=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThan(Integer value) {
            addCriterion("place_id <", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThanOrEqualTo(Integer value) {
            addCriterion("place_id <=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIn(List<Integer> values) {
            addCriterion("place_id in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotIn(List<Integer> values) {
            addCriterion("place_id not in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdBetween(Integer value1, Integer value2) {
            addCriterion("place_id between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotBetween(Integer value1, Integer value2) {
            addCriterion("place_id not between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeIsNull() {
            addCriterion("single_time is null");
            return (Criteria) this;
        }

        public Criteria andSingleTimeIsNotNull() {
            addCriterion("single_time is not null");
            return (Criteria) this;
        }

        public Criteria andSingleTimeEqualTo(Integer value) {
            addCriterion("single_time =", value, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeNotEqualTo(Integer value) {
            addCriterion("single_time <>", value, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeGreaterThan(Integer value) {
            addCriterion("single_time >", value, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("single_time >=", value, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeLessThan(Integer value) {
            addCriterion("single_time <", value, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeLessThanOrEqualTo(Integer value) {
            addCriterion("single_time <=", value, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeIn(List<Integer> values) {
            addCriterion("single_time in", values, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeNotIn(List<Integer> values) {
            addCriterion("single_time not in", values, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeBetween(Integer value1, Integer value2) {
            addCriterion("single_time between", value1, value2, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("single_time not between", value1, value2, "singleTime");
            return (Criteria) this;
        }

        public Criteria andPlaceUinitNumIsNull() {
            addCriterion("place_uinit_num is null");
            return (Criteria) this;
        }

        public Criteria andPlaceUinitNumIsNotNull() {
            addCriterion("place_uinit_num is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceUinitNumEqualTo(Integer value) {
            addCriterion("place_uinit_num =", value, "placeUinitNum");
            return (Criteria) this;
        }

        public Criteria andPlaceUinitNumNotEqualTo(Integer value) {
            addCriterion("place_uinit_num <>", value, "placeUinitNum");
            return (Criteria) this;
        }

        public Criteria andPlaceUinitNumGreaterThan(Integer value) {
            addCriterion("place_uinit_num >", value, "placeUinitNum");
            return (Criteria) this;
        }

        public Criteria andPlaceUinitNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("place_uinit_num >=", value, "placeUinitNum");
            return (Criteria) this;
        }

        public Criteria andPlaceUinitNumLessThan(Integer value) {
            addCriterion("place_uinit_num <", value, "placeUinitNum");
            return (Criteria) this;
        }

        public Criteria andPlaceUinitNumLessThanOrEqualTo(Integer value) {
            addCriterion("place_uinit_num <=", value, "placeUinitNum");
            return (Criteria) this;
        }

        public Criteria andPlaceUinitNumIn(List<Integer> values) {
            addCriterion("place_uinit_num in", values, "placeUinitNum");
            return (Criteria) this;
        }

        public Criteria andPlaceUinitNumNotIn(List<Integer> values) {
            addCriterion("place_uinit_num not in", values, "placeUinitNum");
            return (Criteria) this;
        }

        public Criteria andPlaceUinitNumBetween(Integer value1, Integer value2) {
            addCriterion("place_uinit_num between", value1, value2, "placeUinitNum");
            return (Criteria) this;
        }

        public Criteria andPlaceUinitNumNotBetween(Integer value1, Integer value2) {
            addCriterion("place_uinit_num not between", value1, value2, "placeUinitNum");
            return (Criteria) this;
        }

        public Criteria andPalceUinitIsNull() {
            addCriterion("palce_uinit is null");
            return (Criteria) this;
        }

        public Criteria andPalceUinitIsNotNull() {
            addCriterion("palce_uinit is not null");
            return (Criteria) this;
        }

        public Criteria andPalceUinitEqualTo(String value) {
            addCriterion("palce_uinit =", value, "palceUinit");
            return (Criteria) this;
        }

        public Criteria andPalceUinitNotEqualTo(String value) {
            addCriterion("palce_uinit <>", value, "palceUinit");
            return (Criteria) this;
        }

        public Criteria andPalceUinitGreaterThan(String value) {
            addCriterion("palce_uinit >", value, "palceUinit");
            return (Criteria) this;
        }

        public Criteria andPalceUinitGreaterThanOrEqualTo(String value) {
            addCriterion("palce_uinit >=", value, "palceUinit");
            return (Criteria) this;
        }

        public Criteria andPalceUinitLessThan(String value) {
            addCriterion("palce_uinit <", value, "palceUinit");
            return (Criteria) this;
        }

        public Criteria andPalceUinitLessThanOrEqualTo(String value) {
            addCriterion("palce_uinit <=", value, "palceUinit");
            return (Criteria) this;
        }

        public Criteria andPalceUinitLike(String value) {
            addCriterion("palce_uinit like", value, "palceUinit");
            return (Criteria) this;
        }

        public Criteria andPalceUinitNotLike(String value) {
            addCriterion("palce_uinit not like", value, "palceUinit");
            return (Criteria) this;
        }

        public Criteria andPalceUinitIn(List<String> values) {
            addCriterion("palce_uinit in", values, "palceUinit");
            return (Criteria) this;
        }

        public Criteria andPalceUinitNotIn(List<String> values) {
            addCriterion("palce_uinit not in", values, "palceUinit");
            return (Criteria) this;
        }

        public Criteria andPalceUinitBetween(String value1, String value2) {
            addCriterion("palce_uinit between", value1, value2, "palceUinit");
            return (Criteria) this;
        }

        public Criteria andPalceUinitNotBetween(String value1, String value2) {
            addCriterion("palce_uinit not between", value1, value2, "palceUinit");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Byte value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Byte value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Byte value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Byte value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Byte value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Byte> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Byte> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Byte value1, Byte value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Byte value1, Byte value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andRoundStatusIsNull() {
            addCriterion("round_status is null");
            return (Criteria) this;
        }

        public Criteria andRoundStatusIsNotNull() {
            addCriterion("round_status is not null");
            return (Criteria) this;
        }

        public Criteria andRoundStatusEqualTo(Byte value) {
            addCriterion("round_status =", value, "roundStatus");
            return (Criteria) this;
        }

        public Criteria andRoundStatusNotEqualTo(Byte value) {
            addCriterion("round_status <>", value, "roundStatus");
            return (Criteria) this;
        }

        public Criteria andRoundStatusGreaterThan(Byte value) {
            addCriterion("round_status >", value, "roundStatus");
            return (Criteria) this;
        }

        public Criteria andRoundStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("round_status >=", value, "roundStatus");
            return (Criteria) this;
        }

        public Criteria andRoundStatusLessThan(Byte value) {
            addCriterion("round_status <", value, "roundStatus");
            return (Criteria) this;
        }

        public Criteria andRoundStatusLessThanOrEqualTo(Byte value) {
            addCriterion("round_status <=", value, "roundStatus");
            return (Criteria) this;
        }

        public Criteria andRoundStatusIn(List<Byte> values) {
            addCriterion("round_status in", values, "roundStatus");
            return (Criteria) this;
        }

        public Criteria andRoundStatusNotIn(List<Byte> values) {
            addCriterion("round_status not in", values, "roundStatus");
            return (Criteria) this;
        }

        public Criteria andRoundStatusBetween(Byte value1, Byte value2) {
            addCriterion("round_status between", value1, value2, "roundStatus");
            return (Criteria) this;
        }

        public Criteria andRoundStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("round_status not between", value1, value2, "roundStatus");
            return (Criteria) this;
        }

        public Criteria andIsGenerateIsNull() {
            addCriterion("is_generate is null");
            return (Criteria) this;
        }

        public Criteria andIsGenerateIsNotNull() {
            addCriterion("is_generate is not null");
            return (Criteria) this;
        }

        public Criteria andIsGenerateEqualTo(Byte value) {
            addCriterion("is_generate =", value, "isGenerate");
            return (Criteria) this;
        }

        public Criteria andIsGenerateNotEqualTo(Byte value) {
            addCriterion("is_generate <>", value, "isGenerate");
            return (Criteria) this;
        }

        public Criteria andIsGenerateGreaterThan(Byte value) {
            addCriterion("is_generate >", value, "isGenerate");
            return (Criteria) this;
        }

        public Criteria andIsGenerateGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_generate >=", value, "isGenerate");
            return (Criteria) this;
        }

        public Criteria andIsGenerateLessThan(Byte value) {
            addCriterion("is_generate <", value, "isGenerate");
            return (Criteria) this;
        }

        public Criteria andIsGenerateLessThanOrEqualTo(Byte value) {
            addCriterion("is_generate <=", value, "isGenerate");
            return (Criteria) this;
        }

        public Criteria andIsGenerateIn(List<Byte> values) {
            addCriterion("is_generate in", values, "isGenerate");
            return (Criteria) this;
        }

        public Criteria andIsGenerateNotIn(List<Byte> values) {
            addCriterion("is_generate not in", values, "isGenerate");
            return (Criteria) this;
        }

        public Criteria andIsGenerateBetween(Byte value1, Byte value2) {
            addCriterion("is_generate between", value1, value2, "isGenerate");
            return (Criteria) this;
        }

        public Criteria andIsGenerateNotBetween(Byte value1, Byte value2) {
            addCriterion("is_generate not between", value1, value2, "isGenerate");
            return (Criteria) this;
        }

        public Criteria andIsArrangeIsNull() {
            addCriterion("is_arrange is null");
            return (Criteria) this;
        }

        public Criteria andIsArrangeIsNotNull() {
            addCriterion("is_arrange is not null");
            return (Criteria) this;
        }

        public Criteria andIsArrangeEqualTo(Byte value) {
            addCriterion("is_arrange =", value, "isArrange");
            return (Criteria) this;
        }

        public Criteria andIsArrangeNotEqualTo(Byte value) {
            addCriterion("is_arrange <>", value, "isArrange");
            return (Criteria) this;
        }

        public Criteria andIsArrangeGreaterThan(Byte value) {
            addCriterion("is_arrange >", value, "isArrange");
            return (Criteria) this;
        }

        public Criteria andIsArrangeGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_arrange >=", value, "isArrange");
            return (Criteria) this;
        }

        public Criteria andIsArrangeLessThan(Byte value) {
            addCriterion("is_arrange <", value, "isArrange");
            return (Criteria) this;
        }

        public Criteria andIsArrangeLessThanOrEqualTo(Byte value) {
            addCriterion("is_arrange <=", value, "isArrange");
            return (Criteria) this;
        }

        public Criteria andIsArrangeIn(List<Byte> values) {
            addCriterion("is_arrange in", values, "isArrange");
            return (Criteria) this;
        }

        public Criteria andIsArrangeNotIn(List<Byte> values) {
            addCriterion("is_arrange not in", values, "isArrange");
            return (Criteria) this;
        }

        public Criteria andIsArrangeBetween(Byte value1, Byte value2) {
            addCriterion("is_arrange between", value1, value2, "isArrange");
            return (Criteria) this;
        }

        public Criteria andIsArrangeNotBetween(Byte value1, Byte value2) {
            addCriterion("is_arrange not between", value1, value2, "isArrange");
            return (Criteria) this;
        }

        public Criteria andIsEndIsNull() {
            addCriterion("is_end is null");
            return (Criteria) this;
        }

        public Criteria andIsEndIsNotNull() {
            addCriterion("is_end is not null");
            return (Criteria) this;
        }

        public Criteria andIsEndEqualTo(Byte value) {
            addCriterion("is_end =", value, "isEnd");
            return (Criteria) this;
        }

        public Criteria andIsEndNotEqualTo(Byte value) {
            addCriterion("is_end <>", value, "isEnd");
            return (Criteria) this;
        }

        public Criteria andIsEndGreaterThan(Byte value) {
            addCriterion("is_end >", value, "isEnd");
            return (Criteria) this;
        }

        public Criteria andIsEndGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_end >=", value, "isEnd");
            return (Criteria) this;
        }

        public Criteria andIsEndLessThan(Byte value) {
            addCriterion("is_end <", value, "isEnd");
            return (Criteria) this;
        }

        public Criteria andIsEndLessThanOrEqualTo(Byte value) {
            addCriterion("is_end <=", value, "isEnd");
            return (Criteria) this;
        }

        public Criteria andIsEndIn(List<Byte> values) {
            addCriterion("is_end in", values, "isEnd");
            return (Criteria) this;
        }

        public Criteria andIsEndNotIn(List<Byte> values) {
            addCriterion("is_end not in", values, "isEnd");
            return (Criteria) this;
        }

        public Criteria andIsEndBetween(Byte value1, Byte value2) {
            addCriterion("is_end between", value1, value2, "isEnd");
            return (Criteria) this;
        }

        public Criteria andIsEndNotBetween(Byte value1, Byte value2) {
            addCriterion("is_end not between", value1, value2, "isEnd");
            return (Criteria) this;
        }

        public Criteria andCurrentTeamNumIsNull() {
            addCriterion("current_team_num is null");
            return (Criteria) this;
        }

        public Criteria andCurrentTeamNumIsNotNull() {
            addCriterion("current_team_num is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentTeamNumEqualTo(Integer value) {
            addCriterion("current_team_num =", value, "currentTeamNum");
            return (Criteria) this;
        }

        public Criteria andCurrentTeamNumNotEqualTo(Integer value) {
            addCriterion("current_team_num <>", value, "currentTeamNum");
            return (Criteria) this;
        }

        public Criteria andCurrentTeamNumGreaterThan(Integer value) {
            addCriterion("current_team_num >", value, "currentTeamNum");
            return (Criteria) this;
        }

        public Criteria andCurrentTeamNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("current_team_num >=", value, "currentTeamNum");
            return (Criteria) this;
        }

        public Criteria andCurrentTeamNumLessThan(Integer value) {
            addCriterion("current_team_num <", value, "currentTeamNum");
            return (Criteria) this;
        }

        public Criteria andCurrentTeamNumLessThanOrEqualTo(Integer value) {
            addCriterion("current_team_num <=", value, "currentTeamNum");
            return (Criteria) this;
        }

        public Criteria andCurrentTeamNumIn(List<Integer> values) {
            addCriterion("current_team_num in", values, "currentTeamNum");
            return (Criteria) this;
        }

        public Criteria andCurrentTeamNumNotIn(List<Integer> values) {
            addCriterion("current_team_num not in", values, "currentTeamNum");
            return (Criteria) this;
        }

        public Criteria andCurrentTeamNumBetween(Integer value1, Integer value2) {
            addCriterion("current_team_num between", value1, value2, "currentTeamNum");
            return (Criteria) this;
        }

        public Criteria andCurrentTeamNumNotBetween(Integer value1, Integer value2) {
            addCriterion("current_team_num not between", value1, value2, "currentTeamNum");
            return (Criteria) this;
        }

        public Criteria andRankTeamNumIsNull() {
            addCriterion("rank_team_num is null");
            return (Criteria) this;
        }

        public Criteria andRankTeamNumIsNotNull() {
            addCriterion("rank_team_num is not null");
            return (Criteria) this;
        }

        public Criteria andRankTeamNumEqualTo(Integer value) {
            addCriterion("rank_team_num =", value, "rankTeamNum");
            return (Criteria) this;
        }

        public Criteria andRankTeamNumNotEqualTo(Integer value) {
            addCriterion("rank_team_num <>", value, "rankTeamNum");
            return (Criteria) this;
        }

        public Criteria andRankTeamNumGreaterThan(Integer value) {
            addCriterion("rank_team_num >", value, "rankTeamNum");
            return (Criteria) this;
        }

        public Criteria andRankTeamNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("rank_team_num >=", value, "rankTeamNum");
            return (Criteria) this;
        }

        public Criteria andRankTeamNumLessThan(Integer value) {
            addCriterion("rank_team_num <", value, "rankTeamNum");
            return (Criteria) this;
        }

        public Criteria andRankTeamNumLessThanOrEqualTo(Integer value) {
            addCriterion("rank_team_num <=", value, "rankTeamNum");
            return (Criteria) this;
        }

        public Criteria andRankTeamNumIn(List<Integer> values) {
            addCriterion("rank_team_num in", values, "rankTeamNum");
            return (Criteria) this;
        }

        public Criteria andRankTeamNumNotIn(List<Integer> values) {
            addCriterion("rank_team_num not in", values, "rankTeamNum");
            return (Criteria) this;
        }

        public Criteria andRankTeamNumBetween(Integer value1, Integer value2) {
            addCriterion("rank_team_num between", value1, value2, "rankTeamNum");
            return (Criteria) this;
        }

        public Criteria andRankTeamNumNotBetween(Integer value1, Integer value2) {
            addCriterion("rank_team_num not between", value1, value2, "rankTeamNum");
            return (Criteria) this;
        }

        public Criteria andMqScoreStatusIsNull() {
            addCriterion("mq_score_status is null");
            return (Criteria) this;
        }

        public Criteria andMqScoreStatusIsNotNull() {
            addCriterion("mq_score_status is not null");
            return (Criteria) this;
        }

        public Criteria andMqScoreStatusEqualTo(Byte value) {
            addCriterion("mq_score_status =", value, "mqScoreStatus");
            return (Criteria) this;
        }

        public Criteria andMqScoreStatusNotEqualTo(Byte value) {
            addCriterion("mq_score_status <>", value, "mqScoreStatus");
            return (Criteria) this;
        }

        public Criteria andMqScoreStatusGreaterThan(Byte value) {
            addCriterion("mq_score_status >", value, "mqScoreStatus");
            return (Criteria) this;
        }

        public Criteria andMqScoreStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("mq_score_status >=", value, "mqScoreStatus");
            return (Criteria) this;
        }

        public Criteria andMqScoreStatusLessThan(Byte value) {
            addCriterion("mq_score_status <", value, "mqScoreStatus");
            return (Criteria) this;
        }

        public Criteria andMqScoreStatusLessThanOrEqualTo(Byte value) {
            addCriterion("mq_score_status <=", value, "mqScoreStatus");
            return (Criteria) this;
        }

        public Criteria andMqScoreStatusIn(List<Byte> values) {
            addCriterion("mq_score_status in", values, "mqScoreStatus");
            return (Criteria) this;
        }

        public Criteria andMqScoreStatusNotIn(List<Byte> values) {
            addCriterion("mq_score_status not in", values, "mqScoreStatus");
            return (Criteria) this;
        }

        public Criteria andMqScoreStatusBetween(Byte value1, Byte value2) {
            addCriterion("mq_score_status between", value1, value2, "mqScoreStatus");
            return (Criteria) this;
        }

        public Criteria andMqScoreStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("mq_score_status not between", value1, value2, "mqScoreStatus");
            return (Criteria) this;
        }

        public Criteria andPassTeamIsNull() {
            addCriterion("pass_team is null");
            return (Criteria) this;
        }

        public Criteria andPassTeamIsNotNull() {
            addCriterion("pass_team is not null");
            return (Criteria) this;
        }

        public Criteria andPassTeamEqualTo(String value) {
            addCriterion("pass_team =", value, "passTeam");
            return (Criteria) this;
        }

        public Criteria andPassTeamNotEqualTo(String value) {
            addCriterion("pass_team <>", value, "passTeam");
            return (Criteria) this;
        }

        public Criteria andPassTeamGreaterThan(String value) {
            addCriterion("pass_team >", value, "passTeam");
            return (Criteria) this;
        }

        public Criteria andPassTeamGreaterThanOrEqualTo(String value) {
            addCriterion("pass_team >=", value, "passTeam");
            return (Criteria) this;
        }

        public Criteria andPassTeamLessThan(String value) {
            addCriterion("pass_team <", value, "passTeam");
            return (Criteria) this;
        }

        public Criteria andPassTeamLessThanOrEqualTo(String value) {
            addCriterion("pass_team <=", value, "passTeam");
            return (Criteria) this;
        }

        public Criteria andPassTeamLike(String value) {
            addCriterion("pass_team like", value, "passTeam");
            return (Criteria) this;
        }

        public Criteria andPassTeamNotLike(String value) {
            addCriterion("pass_team not like", value, "passTeam");
            return (Criteria) this;
        }

        public Criteria andPassTeamIn(List<String> values) {
            addCriterion("pass_team in", values, "passTeam");
            return (Criteria) this;
        }

        public Criteria andPassTeamNotIn(List<String> values) {
            addCriterion("pass_team not in", values, "passTeam");
            return (Criteria) this;
        }

        public Criteria andPassTeamBetween(String value1, String value2) {
            addCriterion("pass_team between", value1, value2, "passTeam");
            return (Criteria) this;
        }

        public Criteria andPassTeamNotBetween(String value1, String value2) {
            addCriterion("pass_team not between", value1, value2, "passTeam");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}